package chen.web.controller.blog;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import chen.web.controller.forum.JSONResponse;

@Controller
public class ArticleController {

	@RequestMapping(value="/article", method=RequestMethod.POST)
	public @ResponseBody JSONResponse post(){
		return null;
	}
	
	@RequestMapping(value="/article/{id}", method=RequestMethod.PUT)
	public @ResponseBody JSONResponse update(){
		return null;
	}
	
	@RequestMapping(value="/article-{id}", method=RequestMethod.GET)
	public String show(){
		return null;
	}
	
	@RequestMapping(value="/article/{id}", method=RequestMethod.DELETE)
	public @ResponseBody JSONResponse delete(){
		return null;
	}
	
	@RequestMapping(value="/article/fakeDeleted", method=RequestMethod.GET)
	public @ResponseBody JSONResponse fackDeletedList(){
		return null;
	}

	@RequestMapping(value="/article/fakeDeleted", method=RequestMethod.GET)
	public @ResponseBody JSONResponse restore(){
		return null;
	}
}
